package com.rc.saas.tenant.service.discount;

import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.mapper.discount.TenantDiscountMemberStationMapper;
import com.rc.saas.tenant.model.discount.TenantDiscountMemberStation;
import com.rc.saas.tenant.model.discount.TenantDiscountMemberStationExample;

import java.util.List;

/**
 * @author frog
 * @date 2019/11/25
 */
public interface TenantDiscountMemberStationService extends BaseService<Long, TenantDiscountMemberStation, TenantDiscountMemberStationExample, TenantDiscountMemberStationMapper> {
    List<TenantDiscountMemberStation> selectMemberStationByDiscountId(Long discountPolicyId);

    /**
     * 批量删除
     * @param discountMemberStationIds
     */
    void deleteByBatch(List<Long> discountMemberStationIds);
}
